package com.yang.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;

/**
 * 短信邮箱成功发送表(NoteEmail)实体类
 *
 * @author yangdacheng
 * @since 2022-03-02 19:11:02
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true) //开启链式编写
public class NoteEmail implements Serializable {
    private static final long serialVersionUID = 722309896598940771L;
    /**
    * 成功发送的编号
    */
    private String noteEmailId;
    /**
    * 成功发送时间
    */
    private Date sendTime;
    /**
    * 1:成功 0:失败
    */
    private Integer sendState;
    /**
    * 发送内容
    */
    private String sendContext;
    /**
    * 用户编号
    */
    private String userid;
    /**
     * 1：短信 0：邮箱
     */
    private Integer noteType;
}